<template>
<div>
  <h1>我的基本信息</h1>
  <h3>{{userInfo.username}}</h3>
  <h3>{{userInfo.usertype}}</h3>
  <h3>{{userInfo.name}}</h3>
  <h3>{{userInfo.address}}</h3>
  <h3>{{userInfo.age}}</h3>
  <h3>{{userInfo.sex}}</h3>
</div>
</template>

<script>
export default {
  name: "IsPageOne",

  data() {
    return {
    };
  },

  methods: {

  },

  computed: {
    userInfo(){
      return this.$store.state.user
    }
  }


}
</script>

<style scoped>
*{
  text-align: center;
}
h1{
  margin-top: 200px;
  padding: 20px 0;
}
</style>